﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using Pibby.Core;
using Pibby.Core.Views;
using Pibby.Controls;

namespace Pibby.UI
{
	public partial class SubscriptionView : UserControl 
	{
		public SubscriptionView()
		{
			InitializeComponent();
		}

		#region Commands

		public void InitialiseUI()
		{
			this.feedListView.Configure();
			this.feedListView.MessageWhenEmpty = "No podcast feeds saved yet - use the Add or Import buttons";

			// no selection initially..
			this.removeButton.Enabled = false;
		}
		
		public void ShowPodcasts(PodcastCollection podcasts)
		{
			this.feedListView.RefreshContent(podcasts);
		}

		public void RefreshPodcasts(PodcastCollection podcasts)
		{
			this.ShowPodcasts(podcasts);
		}

		public void ShowPodcastInfo(Podcast podcast)
		{
		}


		#endregion

		#region Event Handlers


		#endregion Event Handlers

	}
}
